package boddaert.philippe.cashGame.parser.page;

import boddaert.philippe.cashGame.parser.game.IWebGameParser;
import boddaert.philippe.cashGame.site.ParsedPage;
import boddaert.philippe.cashGame.site.WebPage;

public interface IWebPageParser {

	/**
	 * Parse a webPage
	 * @param page : WebPage to parse
	 * @return a parsed page
	 */
	public ParsedPage parse(WebPage page) throws Exception;
	
	/**
	 * retrieve the game parser to use
	 * @return A WebGameParser
	 */
	public IWebGameParser getGameParser();
}
